﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="IlanAra2.aspx.cs" Inherits="Sahibinden.UserAction.IlanAra2" %>

<%@ Register src="../UserControl/Categories.ascx" tagname="Categories" tagprefix="uc1" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title></title>
</head>
<body>
    <form id="form1" runat="server">
    <uc1:Categories ID="Categories1" runat="server" />
    <div>
    
    </div>
    <asp:TextBox ID="TextBox1" runat="server"></asp:TextBox><asp:Button ID="Button1"
        runat="server" Text="Button" />
    <br />
    
    <asp:Button ID="btnAra" runat="server" onclick="btnAra_Click" Text="Ara" />
    <asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" 
        onrowcommand="GridView1_RowCommand">
        <Columns>
            <asp:BoundField DataField="Aciklama" HeaderText="Açıklama" />
            <asp:TemplateField HeaderText="İlan Başlığı">
            <ItemTemplate>
                   <asp:LinkButton ID="LinkButton1" runat="server" CommandName="Sec" CommandArgument='<%#Eval("IlanID") %>'  Text='<%#Eval("IlanBasligi") %>' />
 
            </ItemTemplate>
            
            </asp:TemplateField>
            <asp:BoundField DataField="IlanID" HeaderText="IlanID" />
        </Columns>
    </asp:GridView>
    
    </form>
</body>
</html>
